//----------------------------------------------------------------------------
#ifndef MainH
#define MainH
//----------------------------------------------------------------------------
#include "ChildWin.h"
#include <vcl\ComCtrls.hpp>
#include <vcl\ExtCtrls.hpp>
#include <vcl\Messages.hpp>
#include <vcl\Buttons.hpp>
#include <vcl\Dialogs.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Menus.hpp>
#include <vcl\Controls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\Graphics.hpp>
#include <vcl\Classes.hpp>
#include <vcl\SysUtils.hpp>
#include <vcl\Windows.hpp>
#include <vcl\System.hpp>
#include <ActnList.hpp>
#include <ImgList.hpp>
#include <StdActns.hpp>
#include <ToolWin.hpp>
//----------------------------------------------------------------------------
class TMainForm : public TForm
{
__published:
	TMainMenu *MainMenu1;
	TMenuItem *File1;
	TMenuItem *Window1;
	TMenuItem *Help1;
  TMenuItem *N2;
	TMenuItem *FileExitItem;
	TMenuItem *WindowCascadeItem;
	TMenuItem *WindowTileItem;
	TMenuItem *WindowArrangeItem;
	TMenuItem *HelpAboutItem;
	TOpenDialog *OpenDialog;
	TMenuItem *Edit1;
	TMenuItem *CutItem;
	TMenuItem *CopyItem;
	TMenuItem *PasteItem;
	TMenuItem *WindowMinimizeItem;
    TStatusBar *StatusBar;
    TMenuItem *WindowTileItem2;
    TImageList *ImageList1;
  TMenuItem *FileTableSetItem;
  TMenuItem *FileLoginItem;
  TMenuItem *FileExTableItem;
  TMenuItem *FileImRouterItem;
  TMenuItem *N1;
  TActionList *ActionList1;
  TFileOpen *FileImport;
  TFileSaveAs *FileExport;
  TAction *FileLogin;
  TAction *FileTableSet;
  TFileExit *FileQuitApp;
  TEditCut *EditCut1;
  TEditCopy *EditCopy1;
  TEditPaste *EditPaste1;
  TWindowTileHorizontal *WindowTileHorizontal1;
  TWindowTileVertical *WindowTileVertical1;
  TWindowMinimizeAll *WindowMinimizeAll1;
  TWindowArrange *WindowArrange1;
  TWindowCascade *WindowCascade1;
  THelpOnHelp *HelpOnHelp1;
    void __fastcall HelpAbout1Execute(TObject *Sender);
    void __fastcall FileQuitExecute(TObject *Sender);
private:
	void __fastcall CreateMDIChild(const String Name);
public:
	virtual __fastcall TMainForm(TComponent *Owner);
};
//----------------------------------------------------------------------------
extern TMainForm *MainForm;
extern TMDIChild *__fastcall MDIChildCreate(void);
//----------------------------------------------------------------------------
#endif    
